﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZMenFM.Network
{
    public static class ZMConstUrl
    {
        #region 基础地址
        /// <summary>
        /// 基础地址
        /// </summary>
        public const String baseUrl = "http://zhangmen.baidu.com/";
        #endregion

        #region 专辑列表Url
        /// <summary>
        /// 百度推荐
        /// </summary>
        public const String albumRecommendUrl = baseUrl + "allprom.jsp?orderby=fav&";

        /// <summary>
        /// 人气专辑
        /// </summary>
        public const String albumPopularUrl = baseUrl + "allprom.jsp?orderby=sup&";

        /// <summary>
        /// 最新专辑
        /// </summary>
        public const String albumNewUrl = baseUrl + "allprom.jsp?orderby=new&";

        /// <summary>
        /// 开放专辑
        /// </summary>
        public const String albumPublicUrl = baseUrl + "allprom.jsp?orderby=pub&";

        /// <summary>
        /// 专辑信息XML
        /// </summary>
        public const String albumXmlUrl = "http://zhangmen.baidu.com/widgetshare.jsp?category=101&id=";
        #endregion

        #region 分类列表Url
        /// <summary>
        /// 分类列表首页（分页）
        /// </summary>
        public const String tagBaseUrl = baseUrl + "sortgroup.jsp?";

        /// <summary>
        /// 某群组分类
        /// </summary>
        public const String tagGroupUrl = tagBaseUrl + "groupname=";

        /// <summary>
        /// 标签列表
        /// </summary>
        public const String tagSearch = baseUrl + "wordprom.jsp?word=";
        #endregion

        #region 用户列表Url
        /// <summary>
        /// 用户之星
        /// </summary>
        public const String userStarUrl = baseUrl + "userstar.jsp?";

        /// <summary>
        /// 活跃用户
        /// </summary>
        public const String userActiveUrl = baseUrl + "activeuserdata.jsp?page=";
        #endregion

        #region 用户操作Url
        /// <summary>
        /// 登录
        /// </summary>
        public const String accountLoginUrl = "https://passport.baidu.com/v2/?login";
        #endregion

        #region 歌曲Url
        /// <summary>
        /// 歌曲数据
        /// </summary>
        public const String songDataUrl = "http://box.zhangmen.baidu.com/x?op=12&count=1&mtype=1";

        /// <summary>
        /// 歌词地址
        /// </summary>
        public const String songLrcUrl = "http://box.zhangmen.baidu.com/bdlrc/";
        #endregion
    }
}
